import Home from '../pages/Home'
import About from '../pages/About'
import Table from '../pages/Table'
import Y1 from '../pages/Y1'
import Y2 from '../pages/Y2'
import Y3 from '../pages/Y3'
import Y4 from '../pages/Y4'
import Y5 from '../pages/Y5'
import Y6 from '../pages/Y6'
import Y7 from '../pages/Y7'
const routes = [
  {
    path: '/',
    exact: true,
    main: (props) => <Home {...props} />,
  },
  {
    path: '/home',
    exact: true,
    main: (props) => <Home {...props} />,
  },
  {
    path: '/about',

    main: (props) => <About {...props} />,
  },
  {
    path: '/table',
    main: (props) => <Table {...props} />,
  },
  {
    path: '/y1',
    main: (props) => <Y1 {...props} />,
  },
  {
    path: '/y2',
    main: (props) => <Y2 {...props} />,
  },
  {
    path: '/y3',
    main: (props) => <Y3 {...props} />,
  },
  {
    path: '/y4',
    main: (props) => <Y4 {...props} />,
  },
  {
    path: '/y5',
    main: (props) => <Y5 {...props} />,
  },
  {
    path: '/y6',
    main: (props) => <Y6 {...props} />,
  },
  {
    path: '/y7',
    main: (props) => <Y7 {...props} />,
  },
]

export default routes
